﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace FashionWebsite.Models.DAL
{
    public class DalPage
    {
        public string SelectedItemId { get; set; }
        public string SelectedValue { get; set; }
        public IEnumerable<SelectListItem> getListPage()
        {
            List<SelectListItem> items = new List<SelectListItem>();
            for (int i = 1; i < 5; i++)
            {
                items.Add(new SelectListItem { Text = (i ).ToString(), Value = (i).ToString() });
            }


            return items;
        }
        public static IEnumerable<SelectListItem> ListStatus()
        {
            List<SelectListItem> items = new List<SelectListItem>();
           
                items.Add(new SelectListItem { Text = "Noi Bat", Value = "1" });
                items.Add(new SelectListItem { Text ="moi nhat", Value = "2" });
                items.Add(new SelectListItem { Text = "Gia Tang Dan", Value = "3" });
                items.Add(new SelectListItem { Text ="Gia Giam Dan" , Value = "4" });


            return items;
        }
    }
}